package org.x.casemodule.entity;

import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

public class document {

//    @Data
//    @AllArgsConstructor
//    @NoArgsConstructor
//    public static class GeneratedDocument {
//        private Long id;
//        private Long caseId;
//        private Long templateId;
//        private String documentTitle;
//        private String documentContent;
//        private Integer currentVersion;
//        private String status;
//        private String signStatus;
//        private LocalDateTime createTime;
//        private LocalDateTime updateTime;
//        private LocalDateTime lastEditTime;
//        // getters & setters
//    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Table(value = "legal_provision", dataSource = "caseDS")
    public static class LegalProvision {
        private Long id;
        private String lawName;
        private String article;
        private String clause;
        private String content;
        // getters & setters
    }

//    @Data
//    @AllArgsConstructor
//    @NoArgsConstructor
//    public static class DocumentTemplate {
//        private Long id;
//        private String templateName;
//        private String templateType;
//        private String category;
//        private String templateContent;
//        private String description;
//        private Boolean isActive;
//        private Integer version;
//        private LocalDateTime createTime;
//        private LocalDateTime updateTime;
//        // getters & setters
//    }

//    @Data
//    @AllArgsConstructor
//    @NoArgsConstructor
//    public static class DocumentDraft {
//        private Long id;
//        private Long docId;
//        private String content;
//        private Integer version;
//        private Long editorId;
//        private LocalDateTime saveTime;
//        // getters & setters
//    }
}
